<?php

namespace app\models;

use Yii;
use yii\base\Model;

/**
 * ContactForm is the model behind the contact form.
 */
class FenhongForm extends Model
{
    //分红时间
    //public $data_datetime;
    //分红数值
    public $fenhong_rate;
    //是否进行实际的分红账户划拨
    public $is_fenhong_exec=false;
    //是否停止分红
    public $is_stop_fenhong=false;


    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [[ 'fenhong_rate','is_fenhong_exec','is_stop_fenhong'], 'required'],
        ];
    }

    /**
     * @return array customized attribute labels
     */
     public function attributeLabels()
     {
         return [
             'fenhong_rate' => '静态分红值',
             'is_fenhong_exec' => '进行实际分红账户划拨',
             'is_stop_fenhong' => '关闭分红'
         ];
     }

}
